﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Cliente.aspx.cs" Inherits="YERIL_PI_INT.PaginasWebs.Modulos.Login.Cliente1" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <link href="../../../Content/bootstrap/bootstrap.min.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700"/>
    <link href="../../../Recursos/HojasEstilo/HELogin.css" rel="stylesheet" />
</head>
<body class="cuerpo">
    <form id="form1" runat="server">
  
    <legend>Cliente</legend>

         <div class="alert alert-info">
            <button type="button" class="close" data-dismiss="alert">&times;</button>
             <strong> <% if(MensajeError==null){MensajeError="No hay Errores";} %><%=MensajeError %>
             <asp:ValidationSummary ID="ValidationSummary1" runat="server" ValidationGroup="Group1" />
             </strong>
        </div>
        <div class="row">
            <div class="col-md-6" >
 
                <div class="control-group">
                     <label class="control-label" for="txtNombre">Nombre</label>
                    <div class="controls">
                    <asp:TextBox ID="txtNombre" runat="server" Width="400px" CssClass="form-control" placeholder="Nombre"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtNombre" ErrorMessage="Digite Nombre" ForeColor="Red" SetFocusOnError="True" ValidationGroup="Group1">*</asp:RequiredFieldValidator>
                    </div>
                </div>
                <div class="control-group">
                    
                    <label class="control-label" for="txtDescripcion">Descripción</label>
                    <div class="controls">
                    <asp:TextBox ID="txtDescripcion" runat="server" Width="400px" CssClass="form-control" placeholder="Descripción"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtDescripcion" ErrorMessage="Digite Descripción" ForeColor="Red" SetFocusOnError="True" ValidationGroup="Group1">*</asp:RequiredFieldValidator>
                    </div>
                </div>
                <div class="control-group">
                    
                    <label class="control-label" for="txtTelefono">Teléfono</label>
                    <div class="controls">
                    <asp:TextBox ID="txtTelefono" runat="server" Width="400px" CssClass="form-control" placeholder="Teléfono"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtTelefono" ErrorMessage="Digite Teléfono" ForeColor="Red" SetFocusOnError="True" ValidationGroup="Group1">*</asp:RequiredFieldValidator>
                        <asp:RangeValidator ID="RangeValidator1" runat="server" ControlToValidate="txtTelefono" ErrorMessage="Digite valores numéricos" ForeColor="Red" MaximumValue="999999999" MinimumValue="0" SetFocusOnError="True" Type="Integer" ValidationGroup="Group1">*</asp:RangeValidator>
                    </div>
                </div>
                <div class="control-group">
                    
                    <label class="control-label" for="txtDireccion">Dirección</label>
                    <div class="controls">
                    <asp:TextBox ID="txtDireccion" runat="server" Width="400px" CssClass="form-control" placeholder="Dirección"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtDireccion" ErrorMessage="Digite Dirección" ForeColor="Red" SetFocusOnError="True" ValidationGroup="Group1">*</asp:RequiredFieldValidator>
                    </div>
                </div>
            </div>
    <div class="col-md-6" >
                <div class="control-group">
                    
                    <label class="control-label" for="txtEmail">Email</label>
                    <div class="controls">
                    <asp:TextBox ID="txtEmail" runat="server" Width="400px" CssClass="form-control" placeholder="Email"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="txtEmail" Display="Dynamic" ErrorMessage="Digite Email" ForeColor="Red" SetFocusOnError="True" ValidationGroup="Group1">*</asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtEmail" ErrorMessage="Digite email válido" ForeColor="Red" SetFocusOnError="True" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ValidationGroup="Group1">*</asp:RegularExpressionValidator>
                    </div>
                </div>
                <div class="control-group">
                    
                    <label class="control-label" for="txtNit">NIT</label>
                    <div class="controls">
                    <asp:TextBox ID="txtNit" runat="server" Width="400px" CssClass="form-control" placeholder="NIT"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="txtNit" ErrorMessage="Digite NIT" ForeColor="Red" SetFocusOnError="True" ValidationGroup="Group1">*</asp:RequiredFieldValidator>
                    </div>
                </div>
                <div class="control-group">
                    
                    <label class="control-label" for="dlTipoCliente">Tipo Cliente</label>
                    <div class="controls">
                    <asp:DropDownList ID="dlTipoCliente" runat="server" CssClass="form-control"></asp:DropDownList>
                    </div>
                </div>
                <div class="control-group">
                    
                    <label class="control-label" for="dlEstadoCliente">Estado</label>
                    <div class="controls">
                    <asp:DropDownList ID="dlEstadoCliente" runat="server" CssClass="form-control"></asp:DropDownList>
                    </div>
                </div>
                <br />
                <div class="controls">
                    <asp:ImageButton ID="btnAgregarCliente" runat="server"   CssClass="btn btn-default"  ImageUrl="~/Recursos/Imagenes/glyphicons_446_floppy_save.png" Height="35" Width="45" OnClick="btnAgregarCliente_Click" ValidationGroup="Group1" />
                    <asp:ImageButton ID="btnSalir" runat="server"   CssClass="btn btn-default" ImageUrl="~/Recursos/Imagenes/glyphicons_192_circle_remove.png"  Height="35" Width="45" OnClick="btnSalir_Click" />
                </div>

              </div> 
            </div> 
           
                
            
         
    
    </form>
     <script src="../Scripts/jquery-1.9.1.min.js"></script>
    <script src="../Scripts/bootstrap.min.js"></script>
</body>
</html>
